package com.itszt.manager.service;

import com.itszt.common.EasyUIPageDatasBean;
import com.itszt.pojo.TbItem;
import com.itszt.pojo.TbItemDesc;

import java.util.List;

//商品业务
public interface GoodsService {

     List<TbItem> getAllGoods();
     EasyUIPageDatasBean<TbItem> getPageGoods(Integer pageNow, Integer pageCapacity);

    boolean addGoods(TbItem item, String desc) throws Exception;

   TbItem getGoodsDetail(Long goodsid);
   TbItemDesc getGoodsDesc(Long goodsid);
}
